<template>
    <div id="app">
        <!--主要界面-->
        <layout-component
            v-if="showM"
        > </layout-component>
    </div>
</template>

<script>
    import layoutComponent from './view/layout.vue';
    export default {
        name: 'app',
        data () {
            return{
                showM: true
            }
        },
        methods:{
          test(){
            console.log(123);
          }
        },
        created(){
          this.$options.data.showM = false;
        console.log(this.$root.$data.is_szy);
        console.log(process.env);
        },
        components: {
            "layout-component":layoutComponent
        }
    }
</script>

<style lang="less">
    @import "./assets/less/base.less";
    @import "./assets/less/app.less";
</style>
